package gamagora.game.world.maps.game
{
	import gamagora.game.world.maps.OSMap;
	import gamagora.game.entity.*;

	public class OSMap10 extends OSMap
	{
		public function OSMap10()
		{
			super();

			addBackground(new OSBird(20, 340));

			var ground:OSGround = new OSGround(0, 380, 80, 180, 0, false);
			ground.setNoErosionLeft([0, 4, 8, 12, 16, 20, 24, 28, 32]);
			ground.erode();
			add(ground);

			ground = new OSGround(0, 700, 220, 380, 0, false);
			ground.setNoErosionDown([198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208]);
			ground.setNoErosionLeft([0, 11, 22, 33, 44, 55, 66, 77, 88, 99, 110, 121, 132, 143, 154, 165, 176, 187, 198]);
			ground.setNoErosionRight([10, 21, 32, 43, 54, 65, 76, 87, 98, 109, 120, 131, 142, 153, 164, 175, 186, 197, 208]);
			ground.erode();
			add(ground);

			ground = new OSGround(220, 480, 400, 600, 0, false);
			ground.setNoErosionDown([580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599]);
			ground.setNoErosionLeft([220, 240, 260, 280, 300, 320, 340, 360, 380, 400, 420, 440, 460, 480, 500, 520, 540, 560, 580]);
			ground.setNoErosionRight([579, 599]);
			ground.erode();
			add(ground);

			ground = new OSGround(620, 1040, 340, 40, 0, false);
			ground.setNoErosionUp([4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]);
			ground.setNoErosionDown([17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33]);
			ground.setNoErosionLeft([0, 17]);
			ground.setNoErosionRight([16, 33]);
			ground.erode();
			add(ground);

			add(new OSCage(640, 856, false));

			add(new OSCage(660, 916, false));

			add(new OSCage(680, 976, false));

		}
	}
}
